<div id="profile">
  <div id="profile_content"> {if $savemsg neq ""}
    <p align=center><span class="saved">{$savemsg}</span></p>
    {/if} 
    {checkActionsTpl location="tpl_pligg_profile_info_start"}
    {if $UseAvatars neq false}
        {*if $user_avatar_source eq "useruploaded"*}
    {* this form can't be inside of another form! *}
     
  <div style="position:absolute; right:0px;">    
      <form method="POST" enctype="multipart/form-data" name="image_upload_form" action="{$form_action}">
        <input type="file" name="image_file" size="20">
        <br />
        <input type="hidden" name="avatar" value="uploaded"/>
        {$hidden_token_profile_change}

        {*  <input type="hidden" name="avatarsource" value="useruploaded" /> *}

          <input type="submit" value="{#PLIGG_Visual_Profile_AvatarUpload#}" name="action" class="log3" >
        <br />
      </form>
</div>
      {*/if*}
      {/if}
      
     <form action="" method="post" id="thisform"> 

          
      {$hidden_token_profile_change}
       <table style="border:none">
            
      <tr>
      
      <td style="border-right:1px solid #CC6600; padding-right:20px;">
      <strong style="margin-left:-10px;">{#PLIGG_Visual_Profile_Descripcion#}</strong>
      
      <br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Descripcion_General#}:</label><br />
<textarea rows="10" cols="60"  name="descripcion" id="descripcion" >{$user_descripcion}</textarea>
<br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Descripcion_Ubicacion#}:</label><br />
<input type="text" name="ubicacion" value="{$user_ubicacion}" id="ubicacion">
<br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Descripcion_PServicio#}:</label><br />
<input type="text" name="pservicio" value="{$user_pservicio}" id="pservicio">
          <br />
          <br />
          <strong style="margin-left:-10px;">{#PLIGG_Visual_Profile_Experiencia#}</strong><br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Experiencia_Reconocimiento#}:</label><br />
<textarea rows="10" cols="60"  name="reconocimiento" id="reconocimiento" >{$user_reconocimiento}</textarea>
<br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Experiencia_Experiencia#}:</label><br />
<textarea rows="10" cols="60"  name="experiencia" id="experiencia">{$user_experiencia}</textarea>
<br />
       <label for="name" accesskey="1">{#PLIGG_Visual_Profile_Experiencia_Clientes#}:</label><br />
       <textarea rows="10" cols="60"  name="clientes" id="clientes">{$user_clientes}</textarea>
    </td>
      
      <td style="padding-left:20px;"> 
    <h2>{#PLIGG_Visual_Profile_UploadAvatar2#}:</h2>

      
     
      {$hidden_token_profile_change}
      {if $UseAvatars neq false}
      {#PLIGG_Visual_Profile_CurrentAvatar#} <span id="ls_avatar-large"><img src="{$Avatar_ImgLarge}" alt="Avatar"/></span> <span id="ls_avatar-small"><img src="{$Avatar_ImgSmall}" alt="Avatar"/></span> <br />
    
    
      <input type="radio" name="avatarsource" style=""  value="" {if $user_avatar_source eq ""}CHECKED{/if} onchange="document.getElementById('su').click();" >
      {#PLIGG_Visual_Profile_UseDefaultAvatar#}<br />
      <input type="radio" name="avatarsource" style=""  value="useruploaded" {if $user_avatar_source eq "useruploaded"}CHECKED{/if} onchange="document.getElementById('su').click();" >

      
      {#PLIGG_Visual_Profile_UploadAvatar#}
      
      <br/>
{*<input type="hidden" id="avatarsourceID" name="avatarsource" value="" />*}
      <span style="font-size: 11px;" >*si cambias tu imagen, el cambio tomará algunos instantes en ser visible.</span>
     <input type=submit name="save_profile" id="su" value="{#PLIGG_Visual_Profile_Save#}" style="display:none">
      {/if}

      </div>
      
      <table style="border:none">
        {checkActionsTpl location="tpl_profile_center_fields"} <br />
        <br />
        {checkActionsTpl location="tpl_pligg_profile_info_middle"}
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_Profile_RealName#}:</label>
          <br />
            <input type="text" name="names" id="names" tabindex="1" value="{$user_names}">
            <br />
            &nbsp; </td>
        </tr>
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_Profile_Email#}:</label>
          <br />
            <input type="text" name="email" id="email" tabindex="3" value="{$user_email}">
            <br />
            <em>{#PLIGG_Visual_Profile_OnlyAdmins#}</em> </td>
        </tr>
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_User_Profile_PublicEmail#}:</label>
          <br />
            <input type="text" name="public_email" id="public_email" tabindex="5" value="{$user_publicemail}">
            <br />
            &nbsp; </td>
        </tr>
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_User_Profile_Homepage#}:</label>
          <br />
            <input type="text" name="url" id="url" tabindex="7" value="{$user_url}">
            <br />
            &nbsp; </td>
        </tr>
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_Profile_Location#}:</label><br />
            <input type="text" name="location" id="location" tabindex="9" value="{$user_location}">
            <br />
            &nbsp; </td>
        </tr>
        <tr>
          <td align="right"><label for="name" accesskey="1">{#PLIGG_Visual_Profile_Phone#}:</label><br />
            <input type="text" name="phone" id="phone" tabindex="9" value="{$user_phone}">
            <br />
            &nbsp; </td>
        </tr>
        
        
        
        
        
      <tr>
        <td >
            <div class="linespacer">&nbsp;</div>
    <h2>{#PLIGG_Visual_Profile_ChangePass#}</h2>
        <br />
        <br />
        <label>{#PLIGG_Visual_Profile_OldPass#}:</label>
          <br />
          <input type="password" id="oldpassword" name="oldpassword" size="25" tabindex="13"/>
        </td>
      </tr>
      <tr>
               <td ><label>{#PLIGG_Visual_Profile_NewPass#}:</label>
          <br />
          <input type="password" id="newpassword" name="newpassword" size="25" tabindex="14"/>
        </td>
      </tr>
      <tr>
 
        <td><label>{#PLIGG_Visual_Profile_VerifyNewPass#}:</label>
          <br />
          <input type="password" id="verify" name="newpassword2" size="25" tabindex="15"/>
        </td>
      </tr>
      <input type="hidden" name="process" value="1">
      <input type="hidden" name="user_id" value="{$user_id}">
 
        
        
        
        
      </table>
      </td>
      
      </tr>
      
    </table>
    {checkActionsTpl location="tpl_pligg_profile_end"}

    <!--<table style="border:none">
      <tr>
        <td width="250px" align="right"><label>{* #PLIGG_Visual_Profile_OldPass# *}:</label>
          <br />
          <input type="password" id="oldpassword" name="oldpassword" size="25" tabindex="13"/>
        </td>
        <td width="300px" align="right"><label>{* #PLIGG_Visual_Profile_NewPass# *}:</label>
          <br />
          <input type="password" id="newpassword" name="newpassword" size="25" tabindex="14"/>
        </td>
      </tr>
      <tr>
        <td></td>
        <td align="right"><label>{* #PLIGG_Visual_Profile_VerifyNewPass# *}:</label>
          <br />
          <input type="password" id="verify" name="newpassword2" size="25" tabindex="15"/>
        </td>
      </tr>
      <input type="hidden" name="process" value="1">
      <input type="hidden" name="user_id" value="{* $user_id *}">
    </table>-->
    <br />
    {checkActionsTpl location="tpl_pligg_profile_end"}
    <input type="submit" align="right" name="save_profile" value="{#PLIGG_Visual_Profile_Save#}" class="log2" tabindex="16">
    </p>
    </form>
    
  </div>
</div>